package org.example.dto.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigInteger;

/**
 * 日志实体类
 */
@Data
@TableName("operation_logs")
public class OperationLogs {
    @TableId(type = IdType.AUTO)
    private BigInteger logId;
    private BigInteger userId;
    private String action;
    private String ip;
    private String detail;
    private String messageId; //消息唯一标识（必须设置唯一索引）
}
